#include <my_header.h>
#include "Stack.h"

int main()
{
    Stack * s = (Stack *)calloc(1,sizeof(Stack));
    stackInit(s);
    char * str = (char *)calloc(3,sizeof(char));
    str[1] = '1';
    str[0] = '1';
    push(s,str);
    char * str1 = (char *)calloc(3,sizeof(char));
    str1[1] = '1';
    str1[0] = '1';
    push(s,str1);
    destroyStack(s);
    printf("%d\n",isEmpty(s));
    
    char buf[20] = "puts   ./fds";
    strtok(buf," ");
    char * cpath = strtok(NULL," ");
    char * spath = strtok(NULL," ");
    if(spath == NULL){
        printf("cpath : %s\n",cpath);
        printf("spath = NULL\n");
        return 0;
    }
    if(strcmp(spath , "./fds") == 0)
        spath[0] = 'k';
    printf("cpath : %s ,spath : %s \n",cpath,spath);
    return 0;
}

